<template>
  <div class="section-title">{{ title }}</div>
</template>
<script lang="ts" setup>
  defineProps({
    title: String,
  });
</script>
<style lang="less" scoped>
  .section-title {
    font-size: 15px;
    color: #333333;
    font-weight: bold;
    line-height: 15px;
    padding-left: 12px;
    position: relative;

    &::before {
      display: block;
      content: '';
      width: 4.5px;
      height: 13px;
      background-color: @primary-color;
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
    }
  }
</style>
